Einhugur Word Component for Buoy

Paragraph.AppendShapeRun Method

Appends new shape to the paragraph. This function calls AppendShapeRun, creating run, then it fetches the shape within the run. A run is created, and you can get the shape from within the Run. If you do not care about getting handle to the Run then use the AppendShape function which only returns the shape group.

AppendShapeRun(
   shapeType as ShapeTypes,
   x as Double,
   y as Double,
   cx as Double,
   cy as Double,
   emuUnit as EmuUnits) as Run

Parameters

shapeType
The type of the shape to append.
x
X Location of the shape from start of the paragraph.
y
Y Location of the shape from start of the paragraph.
cx
Width or x portion 2nd point of the shape.
cy
Width or y portion 2nd point of the shape.
emuUnit
Unit for the shape.

Returns

Run
The newly created Run which contains the Shape.

Remarks

Note that Shape support is very preliminary.

See Also

Paragraph Class